When requesting a report from the Web Component Server, or when setting up a link to a report from another web page, there are several optional commands available for customizing the information returned.
Commands are passed with a report request by appending the URL address of the report with a question mark followed by each query string command you want to use.
Note: Commands can be passed in any order and in any combination. All commands are optional. If you do not specify any commands, the default viewer displays the report.
The following is an example of using query string commands when requesting a report:
http://<localhost>/scrreports/Accounting/ wsale.rpt?sf={customer.Sales}>10000
Note that each command is specified using the following syntax:
Where command is the first name of the command, and value is the value you assign to that command.
Note: The command is preceded by a question mark ? and additional commands are separated by an ampersand &.
It may be more convenient to embed the request in an HTML page and pass it to the Web Component Server via a FORM tag, as in the following example:
<FORM ACTION='http://localhost/scrreports/Accounting/
wsale.rpt?sf={customer.Sales}>1000' METHOD='post'>
<input type=submit value='Click Here To Launch the report: http://
localhost/scrreports/Accounting/ wsale.rpt?sf={customer.Sales}>1000'>
<input type=hidden name="init" value="html_page">
<input type=hidden name="promptOnRefresh" value="0">
</FORM>
The resulting URL and attached query string look like this:
http://localhost/scrreports/Accounting/wsale.rpt?sf={customer.Sales}>1000&init=html_page&promptOnRefresh=0
| Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com |